package com.zzj.dao;

import com.zzj.bean.*;
import org.springframework.stereotype.Component;

@Component
public interface QualityDao {
    /**
     *
     * @return
     */
    ShapeBean selectOneShape( int pid);
    ModelBean selectOneModel(int pid);
    FusionBean selectOneFusion(int pid);
    BoxBean selectOneBox(int pid);
    MachineBean selectOneMachine(int pid);
    AssembleBean selectOneAssemble(int pid);
    int rebutOneShape( int pid);
    int rebutOneMode(int pid);
    int rebutOneFusion(int pid);
    int rebutOneBox(int pid);
    int rebutOneMachine(int pid);
    int rebutOneAssemble(int pid);
    int rebutOneProduct(int pid);
    int rebutOneShape2( int pid);
    int rebutOneModel2(int pid);
    int rebutOneFusion2(int pid);
    int rebutOneBox2(int pid);
    int rebutOneMachine2(int pid);
    int rebutOneAssemble2(int pid);
    int rebutOneProduct2(int pid);

    int insertOneInbox( InboxBean bean);
    int insertOneModel(ModelBean bean);
    int insertOneFusion(FusionBean bean);
    int insertOneBox(BoxBean bean);
    int insertOneMachine(MachineBean bean);
    int insertOneAssemble(AssembleBean bean);
}
